package com.ruoyi.leader.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 团长信息对象 t_group_leader
 * 
 * @author zzy
 * @date 2025-08-17
 */
public class TGroupLeader extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private String id;

    /** 团长ID */
    @Excel(name = "团长ID")
    private String leaderId;

    /** 审核时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "审核时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date auditTime;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 手机号 */
    @Excel(name = "手机号")
    private String phone;

    /** 自提点名称 */
    @Excel(name = "自提点名称")
    private String pickupName;

    /** 自提点地址 */
    @Excel(name = "自提点地址")
    private String pickupAddress;

    /** 自提点类型 */
    @Excel(name = "自提点类型")
    private String pickupType;

    /** 成交金额 */
    @Excel(name = "成交金额")
    private BigDecimal orderAmount;

    /** 成交订单数 */
    @Excel(name = "成交订单数")
    private Long orderCount;

    /** 成交商品单数 */
    @Excel(name = "成交商品单数")
    private Long orderItemCount;

    /** 状态（1：有效；0：无效 ） */
    @Excel(name = "状态", readConverterExp = "1=：有效；0：无效")
    private Long status;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }

    public void setLeaderId(String leaderId) 
    {
        this.leaderId = leaderId;
    }

    public String getLeaderId() 
    {
        return leaderId;
    }

    public void setAuditTime(Date auditTime) 
    {
        this.auditTime = auditTime;
    }

    public Date getAuditTime() 
    {
        return auditTime;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }

    public void setPickupName(String pickupName) 
    {
        this.pickupName = pickupName;
    }

    public String getPickupName() 
    {
        return pickupName;
    }

    public void setPickupAddress(String pickupAddress) 
    {
        this.pickupAddress = pickupAddress;
    }

    public String getPickupAddress() 
    {
        return pickupAddress;
    }

    public void setPickupType(String pickupType) 
    {
        this.pickupType = pickupType;
    }

    public String getPickupType() 
    {
        return pickupType;
    }

    public void setOrderAmount(BigDecimal orderAmount) 
    {
        this.orderAmount = orderAmount;
    }

    public BigDecimal getOrderAmount() 
    {
        return orderAmount;
    }

    public void setOrderCount(Long orderCount) 
    {
        this.orderCount = orderCount;
    }

    public Long getOrderCount() 
    {
        return orderCount;
    }

    public void setOrderItemCount(Long orderItemCount) 
    {
        this.orderItemCount = orderItemCount;
    }

    public Long getOrderItemCount() 
    {
        return orderItemCount;
    }

    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("leaderId", getLeaderId())
            .append("auditTime", getAuditTime())
            .append("name", getName())
            .append("phone", getPhone())
            .append("pickupName", getPickupName())
            .append("pickupAddress", getPickupAddress())
            .append("pickupType", getPickupType())
            .append("orderAmount", getOrderAmount())
            .append("orderCount", getOrderCount())
            .append("orderItemCount", getOrderItemCount())
            .append("status", getStatus())
            .toString();
    }
}
